//
//  ViewController.swift
//  ZYCodeView
//
//  Created by qi long chen on 2021/9/10.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        
        let config = ZYCodeConfig(count: 6)
        let codeView = ZYCodeView(frame: CGRect(x: 25, y: 200, width: view.bounds.width-50, height: 50), config: config)
        view.addSubview(codeView)
    }
}

